package io.renren.service.impl;

import io.renren.dao.DemoDao;
import io.renren.service.DemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DemoServiceImpl implements DemoService {
    @Resource
    DemoDao demoDao;
    @Override
    public void saveService(String msg) {
        demoDao.save(msg);
    }

    @Override
    public List getConnctList() {
        return demoDao.getConnctList();
    }
}
